GraphObject Object

The GraphObject Object represents a graph/chart found in a report. This object provides properties for retrieving information and setting options for a graph in your report (that is, graph data type - group, detail or graph display type - bar, pie, etc.).

GraphObject Object Properties

Property Description Read/ Write Restriction in
event handler

AutoRangeData2Axis

Boolean. Gets or sets the auto range option for data2 axis. See Remarks below.

Read/Write

Can be written only when formatting idle.

AutoRangeDataAxis

Boolean. Gets or sets the auto range option for data axis. See Remarks below.

Read/Write

Can be written only when formatting idle.

BackColor

OLE_COLOR. Gets or sets the object background color.

Read/Write

Can be written only when formatting idle or active.

BarSize

CRBarSize. Gets or sets the bar size.

Read/Write

Can be written only when formatting idle.

BorderColor

OLE_COLOR. Gets or sets the object border color.

Read/Write

Can be written only when formatting idle or active.

BottomLineStyle

CRLineStyle. Gets or sets the bottom line style.

Read/Write

Can be written only when formatting idle or active.

CloseAt
PageBreak

Boolean. Gets or sets the close border on page break option.

Read/Write

Can be written only when formatting idle or active.

Condition
Fields

FieldDefinitions Collection. Gets the condition fields Collection.

Read only

None

CrossTab
Object

CrossTabObject Object. Gets the crosstab object if this is a CrossTab chart.

Read only

None

Data2Axis
Division
Method

CRDivisionMethod. Gets or sets the data2 axis division method.

Read/Write

Can be written only when formatting idle.

Data2Axis
Division
Number

Long. Gets or sets the data2 axis division number.

Read/Write

Can be written only when formatting idle.

Data2AxisGridline

CRGridlineType. Gets or sets the data2 axis grid line type.

Read/Write

Can be written only when formatting idle.

Data2Axis
Number
Format

CRNumberFormat. Gets or sets the data2 axis number format.

Read/Write

Can be written only when formatting idle.

DataAxis
Division
Method

CRDivisionMethod. Gets or sets the data axis division method.

Read/Write

Can be written only when formatting idle.

DataAxis
Division
Number

Long. Gets or sets the data axis division number.

Read/Write

Can be written only when formatting idle.

DataAxis
Gridline

CRGridlineType. Gets or sets the data axis grid line type.

Read/Write

Can be written only when formatting idle.

DataAxis
Number
Format

CRNumberFormat. Gets or sets the data axis number format.

Read/Write

Can be written only when formatting idle.

DataLabel
Font

IFontDisp. Gets or sets standard OLE font for chart data labels.

Read/Write

Can be written only when formatting idle.

DataPoint

CRGraphDataPoint. Gets or sets the graph data points on risers.

Read/Write

Can be written only when formatting idle.

DataTitle
Font

IFontDisp. Gets or sets standard OLE font for chart data title.

Read/Write

Can be written only when formatting idle.

DataType

CRGraphDataType. Returns which type of data used in the graph.

Read only

None

DataValueNumber
Format

CRNumberFormat. Gets or sets the data value number format.

Read/Write

Can be written only when formatting idle.

EnableAutoScale
DataAxis

Boolean. Gets or sets the data axis auto-scale option.

Read/Write

Can be written only when formatting idle.

EnableAutoScale
Data2Axis

Boolean. Gets or sets the data2 axis auto-scale option.

Read/Write

Can be written only when formatting idle.

EnableFor

EachRecord

Boolean. Gets or sets the enable for each record option.

Read/Write

Can be written only when formatting idle.

EnableShowLegend

Boolean. Gets or sets the show legend option.

Read/Write

Can be written only when formatting idle.

Enable
Summarize
Values

Boolean. Gets or sets the enable summarize values option.

Read/Write

Can be written only when formatting idle.

FootNote

String. Gets or sets the footnote.

Read/Write

Can be written only when formatting idle.

Footnote
Font

IFontDisp. Gets or sets standard OLE font for chart footnote.

Read/Write

Can be written only when formatting idle.

GraphColor

crgraphcolor. Gets or sets the graph color.

Read/Write

Can be written only when formatting idle.

Graph
Direction

CRGraphDirection. Gets or sets the graph direction.

Read/Write

Can be written only when formatting idle.

GraphType

CRGraphType. Gets or sets the graph type.

Read/Write

Can be written only when formatting idle.

GroupAxisGridline

CRGridlineType. Gets or sets the group axis grid line type.

Read/Write

Can be written only when formatting idle.

GroupLabelFont

IFontDisp. Gets or sets standard OLE font for chart group labels.

Read/Write

Can be written only when formatting idle.

GroupsTitle

String. Gets or sets the groups title.

Read/Write

Can be written only when formatting idle.

GroupTitleFont

IFontDisp. Gets or sets standard OLE font for chart group title.

Read/Write

Can be written only when formatting idle.

HasDropShadow

Boolean. Gets or sets the border drop shadow option.

Read/Write

Can be written only when formatting idle or active.

Height

Long. Gets or sets the object height, in twips.

Read/Write

Can be written only when formatting idle or active.

IsFootnote
ByDefault

Boolean. Gets or sets footnote default flag.

Read/Write

Can be written only when formatting idle or active.

IsGroups

TitleBy
Default

Boolean. Gets or set groups title default flag.

Read/Write

Can be written only when formatting idle or active.

IsSeriesTitleByDefault

Boolean. Gets or sets series title default flag.

Read/Write

Can be written only when formatting idle or active.

IsSubTitle
ByDefault

Boolean. Get or sets subtitle default flag.

Read/Write

Can be written only when formatting idle or active.

IsTitleBy

Default

Boolean. Gets or sets title default flag.

Read/Write

Can be written only when formatting idle or active.

Keep
Together

Boolean. Gets or sets keep object together option.

Read/Write

Can be written only when formatting idle or active.

Kind

CRObjectKind. Gets which kind of object (for example, box, cross-tab, etc.).

Read only

None

Left

Long. Gets or sets the object upper left position, in twips.

Read/Write

Can be written only when formatting idle or active.

LeftLine
Style

CRLineStyle. Gets or sets the left line style.

Read/Write

Can be written only when formatting idle or active.

LegendFont

IFontDisp. Gets or sets standard OLE font for legend.

Read/Write

Can be written only when formatting idle.

Legend
Layout

CRPieLegendLayout. Gets or sets the legend layout for a pie chart.

Read/Write

Can be written only when formatting idle.

Legend
Position

CRLegendPosition. Gets or sets the legend position.

Read/Write

Can be written only when formatting idle.

Marker
Shape

CRMarkerShape. Gets or sets the marker shape.

Read/Write

Can be written only when formatting idle.

MarkerSize

CRMarkerSize. Gets or sets the marker size.

Read/Write

Can be written only when formatting idle.

MaxData2
AxisValue

Double. Gets or sets data2-axis max value. See Remarks below.

Read/Write

Can be written only when formatting idle.

MaxData
AxisValue

Double. Gets or sets data-axis max value. See Remarks below.

Read/Write

Can be written only when formatting idle.

MinData2
AxisValue

Double. Gets or sets data2-axis min value. See Remarks below.

Read/Write

Can be written only when formatting idle.

MinData
AxisValue

Double. Gets or sets data-axis min value. See Remarks below.

Read/Write

Can be written only when formatting idle.

Name

String. Gets or sets the object name.

Read/Write

Can be written only when formatting idle.

Parent

Section Object. Gets reference to the parent object.

Read only

None

PieSize

CRPieSize. Gets or sets the size for pie charts.

Read/Write

Can be written only when formatting idle.

RightLine
Style

CRLineStyle. Gets or sets the right line style.

Read/Write

Can be written only when formatting idle or active.

SeriesAxisGridline

CRGridlineType. Gets or sets the series axis grid line type.

Read/Write

Can be written only when formatting idle.

SeriesLabelFont

IFontDisp. Gets or sets standard OLE font for chart series labels.

Read/Write

Can be written only when formatting idle.

SeriesTitle

String. Gets or sets the series title.

Read/Write

Can be written only when formatting idle.

SeriesTitle
Font

IFontDisp. Gets or sets standard OLE font for chart series title.

Read/Write

Can be written only when formatting idle.

SliceDetachment

CRSliceDetachment. Gets or sets the slice detachment.

Read/Write

Can be written only when formatting idle.

SubTitle

String. Gets or sets subtitle.

Read/Write

Can be written only when formatting idle.

SubTitle
Font

IFontDisp. Gets or sets standard OLE font for chart subtitle.

Read/Write

Can be written only when formatting idle.

Summary
Fields

SummaryFieldDefinitions Collection. Gets the summary fields Collection.

Read only

None

Suppress

Boolean. Gets or sets the object visibility.

Read/Write

Can be written only when formatting idle or active.

Title

String. Gets or sets the title.

Read/Write

Can be written only when formatting idle.

TitleFont

IFontDisp. Gets or sets standard OLE font for chart title.

Read/Write

Can be written only when formatting idle.

Top

Long. Gets or sets the object upper top position, in twips.

Read/Write

Can be written only when formatting idle or active.

TopLine
Style

CRLineStyle. Gets or sets the top line style.

Read/Write

Can be written only when formatting idle or active.

Viewing
Angle

CRViewingAngle. Gets or sets the viewing angle.

Read/Write

Can be written only when formatting idle.

Width

Long. Gets or sets the object width, in twips.

Read/Write

Can be written only when formatting idle or active.

Remarks

Properties Max/MinData/SeriesAxisValue will be ignored if the corresponding AutoRangeData/SeriesAxis property is set to TRUE. If the Max/MinDataDataAxis/Series properties are set at runtime, then the corresponding AutoRangeData/SeriesAxis must be set to FALSE.

This property must be set to FALSE... ...or this property will be ignored

AutoRangeData2Axis

MaxData2AxisValue

AutoRangeDataAxis

MaxDataAxisValue

AutoRangeData2Axis

MinData2AxisValue

AutoRangeDataAxis

MinDataAxisValue



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com